#include "SQLTable.h"
#include "../RealObject/ListProduct.h"
class CListProductTbl : public CSqlTable
{
public:
	CListProductTbl();
public:
	static int  getMaxCode();
	static bool addNewProduct(const CListProduct* pList);
	static CListProduct* getList(CString sCode);
	
	static vector<CListProduct*> getListProduct();	
	static vector<CString> getListCode(const CString& sFind);

	static bool updateSetting(const CListProduct* pList);
};